package com.itheima.demo1;

public class BiJiao {
    public static void main(String[] args) {
        int a = 10,b = 20,c = 50;
        if(a > b){
            if (a > c){
                System.out.println("最大值为a");
            }else{
                System.out.println("最大值为c");
            }
        }else {
            if (b > c){
                System.out.println("最大值为b");
            }else{
                System.out.println("最大值为c");
            }
        }
    }
}
